Fixing Exploits
If you see an error from bash that's the same as or similar to ^M. It usually means the exploit code was written with Windows newline characters.
We can remove these with a sed command
sed -i -e "s/^M//" 39535.sh
If you see an error from bash that's the same as or similar to ^M. It usually means the exploit code was written with Windows newline characters.
We can remove these with a sed command
sed -i -e "s/^M//" 39535.sh